All Questions
9 questions
2votes
1answer
388views
how to create a calculated fields programmatically
I need to create a calculated item , which has: the ID of the item, the created date and title. How to do this combination in xml. i tried this code : <Field Type="Calculated" DisplayName="$...
1vote
0answers
344views
Add a link to display form on custom column using powershell?
I read several solutions that advice to use SharePoint Designer to modify the column xml definition. I would like to know if there is a way to do the same by using PowerShell. I have a really large ...
1vote
1answer
298views
Unable to get "Description" into SharePoint 2010 search results XML
I'm failing terribly at adding a field to my search results. The fields (external) name is "description" and is, to my knowledge, not custom made but out of the box. The Webpart settings already ...
1vote
1answer
5kviews
The element cannot contain child element because the parent element's content model is text only Error
I want to provision the field using feature. I have a field which is of type Calculated and the xml for the column is like below: <Field Type="Calculated" ID="{71D763F4-CD20-420D-9E0E-...
0votes
2answers
612views
Display GUID column of document in the XML Api request
Before I start, let me just say that I have no experience with Sharepoint. Because of this I do not have the necessary knowledge of the different terminology, so bare with me. That said, I'm currently ...
1vote
0answers
361views
Rules for Transforming List Column Names into XML Element Names
I am using the ListData.svc service to pull data from several lists. Many of the column names have punctuation and spaces, so their names are transformed as they're rendered as Atom in the ListData ...
1vote
3answers
5kviews
Custom Sharepoint List (XML Field "TimeOnly")
Trying to Make a XML field that displays DateTime in "TimeOnly" format but for some reason, I can't work it how to use it, as there isn't no "TimeOnly" property shown in Intellisense when i type the ...
3votes
1answer
2kviews
Managed Metadata field full path
I've added a custom Managed Metadata field in my custom contenttype but need to show the full path. Anyone knows how to do this? (if possible with xml, else with c#) XML so far: <Field ID="{...
1vote
1answer
2kviews
Xml defintion of Field and FieldRef elements and the precedence of attributes
Anybody out there with a good understanding or a good reference of how the attributes that make up a custom list definition apply to the list columns when you define Fields and FieldRefs in multiple ...